package cn.stylefeng.guns.sys.modular.system.db2.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiangge
 * @since 2020-10-27
 */
@TableName("dbi_shop")
public class DbiShop implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Integer id;

    @TableField("code")
    private String code;

    @TableField("name")
    private String name;

    @TableField("pinyin")
    private String pinyin;

    @TableField("manage_type_id")
    private Long manageTypeId;

    @TableField("brand_id")
    private Long brandId;

    @TableField("is_enable")
    private String isEnable;

    @TableField("region_id")
    private Integer regionId;

    @TableField("province_id")
    private Integer provinceId;

    @TableField("city_id")
    private Integer cityId;

    @TableField("county_id")
    private Integer countyId;

    @TableField("address")
    private String address;

    @TableField("dog_number")
    private String dogNumber;

    @TableField("contact_tel")
    private String contactTel;

    @TableField("order_tel")
    private String orderTel;

    @TableField("fax")
    private String fax;

    @TableField("server_ip")
    private String serverIp;

    @TableField("is_open")
    private String isOpen;

    @TableField("open_time")
    private Date openTime;

    @TableField("area")
    private Integer area;

    @TableField("capacity")
    private Integer capacity;

    @TableField("gc_x")
    private BigDecimal gcX;

    @TableField("gc_y")
    private BigDecimal gcY;

    @TableField("remark")
    private String remark;

    @TableField("is_center")
    private String isCenter;

    @TableField("is_local")
    private String isLocal;

    @TableField("delflg")
    private Integer delflg;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField("creator_id")
    private Long creatorId;

    @TableField("modify_time")
    private Date modifyTime;

    @TableField("modifier_id")
    private Long modifierId;

    @TableField("upload_flg")
    private Integer uploadFlg;

    @TableField("download_flg")
    private Integer downloadFlg;

    @TableField("slogan")
    private String slogan;

    @TableField("contact_person")
    private String contactPerson;

    @TableField("center_id")
    private Integer centerId;

    @TableField("create_shop_id")
    private Integer createShopId;

    @TableField("emp_num")
    private Integer empNum;

    @TableField("is_data_receive")
    private String isDataReceive;

    @TableField("last_time")
    private Date lastTime;

    @TableField("shop_type")
    private Integer shopType;

    @TableField("is_single_center")
    private Integer isSingleCenter;

    @TableField("is_single_joint")
    private Integer isSingleJoint;

    @TableField("coop_center_id")
    private Integer coopCenterId;

    @TableField("is_single_change")
    private Integer isSingleChange;

    @TableField("sly_tel")
    private String slyTel;

    /**
     * 启用多税率模式, 0 否 1 是
     */
    @TableField("is_enable_multi_tax_rate")
    private String isEnableMultiTaxRate;

    /**
     * 门店开票项, 数据来源arch_invoice_item
     */
    @TableField("invoice_item_id")
    private Long invoiceItemId;

    /**
     * 集团发票信息, 取值范围为1, 2, 3, 4, 5
     */
    @TableField("group_invoice_info_no")
    private Integer groupInvoiceInfoNo;

    @TableField("canteen_type")
    private String canteenType;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public Long getManageTypeId() {
        return manageTypeId;
    }

    public void setManageTypeId(Long manageTypeId) {
        this.manageTypeId = manageTypeId;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public String getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(String isEnable) {
        this.isEnable = isEnable;
    }

    public Integer getRegionId() {
        return regionId;
    }

    public void setRegionId(Integer regionId) {
        this.regionId = regionId;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getCountyId() {
        return countyId;
    }

    public void setCountyId(Integer countyId) {
        this.countyId = countyId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDogNumber() {
        return dogNumber;
    }

    public void setDogNumber(String dogNumber) {
        this.dogNumber = dogNumber;
    }

    public String getContactTel() {
        return contactTel;
    }

    public void setContactTel(String contactTel) {
        this.contactTel = contactTel;
    }

    public String getOrderTel() {
        return orderTel;
    }

    public void setOrderTel(String orderTel) {
        this.orderTel = orderTel;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getServerIp() {
        return serverIp;
    }

    public void setServerIp(String serverIp) {
        this.serverIp = serverIp;
    }

    public String getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(String isOpen) {
        this.isOpen = isOpen;
    }

    public Date getOpenTime() {
        return openTime;
    }

    public void setOpenTime(Date openTime) {
        this.openTime = openTime;
    }

    public Integer getArea() {
        return area;
    }

    public void setArea(Integer area) {
        this.area = area;
    }

    public Integer getCapacity() {
        return capacity;
    }

    public void setCapacity(Integer capacity) {
        this.capacity = capacity;
    }

    public BigDecimal getGcX() {
        return gcX;
    }

    public void setGcX(BigDecimal gcX) {
        this.gcX = gcX;
    }

    public BigDecimal getGcY() {
        return gcY;
    }

    public void setGcY(BigDecimal gcY) {
        this.gcY = gcY;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getIsCenter() {
        return isCenter;
    }

    public void setIsCenter(String isCenter) {
        this.isCenter = isCenter;
    }

    public String getIsLocal() {
        return isLocal;
    }

    public void setIsLocal(String isLocal) {
        this.isLocal = isLocal;
    }

    public Integer getDelflg() {
        return delflg;
    }

    public void setDelflg(Integer delflg) {
        this.delflg = delflg;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Long getModifierId() {
        return modifierId;
    }

    public void setModifierId(Long modifierId) {
        this.modifierId = modifierId;
    }

    public Integer getUploadFlg() {
        return uploadFlg;
    }

    public void setUploadFlg(Integer uploadFlg) {
        this.uploadFlg = uploadFlg;
    }

    public Integer getDownloadFlg() {
        return downloadFlg;
    }

    public void setDownloadFlg(Integer downloadFlg) {
        this.downloadFlg = downloadFlg;
    }

    public String getSlogan() {
        return slogan;
    }

    public void setSlogan(String slogan) {
        this.slogan = slogan;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public Integer getCenterId() {
        return centerId;
    }

    public void setCenterId(Integer centerId) {
        this.centerId = centerId;
    }

    public Integer getCreateShopId() {
        return createShopId;
    }

    public void setCreateShopId(Integer createShopId) {
        this.createShopId = createShopId;
    }

    public Integer getEmpNum() {
        return empNum;
    }

    public void setEmpNum(Integer empNum) {
        this.empNum = empNum;
    }

    public String getIsDataReceive() {
        return isDataReceive;
    }

    public void setIsDataReceive(String isDataReceive) {
        this.isDataReceive = isDataReceive;
    }

    public Date getLastTime() {
        return lastTime;
    }

    public void setLastTime(Date lastTime) {
        this.lastTime = lastTime;
    }

    public Integer getShopType() {
        return shopType;
    }

    public void setShopType(Integer shopType) {
        this.shopType = shopType;
    }

    public Integer getIsSingleCenter() {
        return isSingleCenter;
    }

    public void setIsSingleCenter(Integer isSingleCenter) {
        this.isSingleCenter = isSingleCenter;
    }

    public Integer getIsSingleJoint() {
        return isSingleJoint;
    }

    public void setIsSingleJoint(Integer isSingleJoint) {
        this.isSingleJoint = isSingleJoint;
    }

    public Integer getCoopCenterId() {
        return coopCenterId;
    }

    public void setCoopCenterId(Integer coopCenterId) {
        this.coopCenterId = coopCenterId;
    }

    public Integer getIsSingleChange() {
        return isSingleChange;
    }

    public void setIsSingleChange(Integer isSingleChange) {
        this.isSingleChange = isSingleChange;
    }

    public String getSlyTel() {
        return slyTel;
    }

    public void setSlyTel(String slyTel) {
        this.slyTel = slyTel;
    }

    public String getIsEnableMultiTaxRate() {
        return isEnableMultiTaxRate;
    }

    public void setIsEnableMultiTaxRate(String isEnableMultiTaxRate) {
        this.isEnableMultiTaxRate = isEnableMultiTaxRate;
    }

    public Long getInvoiceItemId() {
        return invoiceItemId;
    }

    public void setInvoiceItemId(Long invoiceItemId) {
        this.invoiceItemId = invoiceItemId;
    }

    public Integer getGroupInvoiceInfoNo() {
        return groupInvoiceInfoNo;
    }

    public void setGroupInvoiceInfoNo(Integer groupInvoiceInfoNo) {
        this.groupInvoiceInfoNo = groupInvoiceInfoNo;
    }

    public String getCanteenType() {
        return canteenType;
    }

    public void setCanteenType(String canteenType) {
        this.canteenType = canteenType;
    }

    @Override
    public String toString() {
        return "DbiShop{" +
        "id=" + id +
        ", code=" + code +
        ", name=" + name +
        ", pinyin=" + pinyin +
        ", manageTypeId=" + manageTypeId +
        ", brandId=" + brandId +
        ", isEnable=" + isEnable +
        ", regionId=" + regionId +
        ", provinceId=" + provinceId +
        ", cityId=" + cityId +
        ", countyId=" + countyId +
        ", address=" + address +
        ", dogNumber=" + dogNumber +
        ", contactTel=" + contactTel +
        ", orderTel=" + orderTel +
        ", fax=" + fax +
        ", serverIp=" + serverIp +
        ", isOpen=" + isOpen +
        ", openTime=" + openTime +
        ", area=" + area +
        ", capacity=" + capacity +
        ", gcX=" + gcX +
        ", gcY=" + gcY +
        ", remark=" + remark +
        ", isCenter=" + isCenter +
        ", isLocal=" + isLocal +
        ", delflg=" + delflg +
        ", createTime=" + createTime +
        ", creatorId=" + creatorId +
        ", modifyTime=" + modifyTime +
        ", modifierId=" + modifierId +
        ", uploadFlg=" + uploadFlg +
        ", downloadFlg=" + downloadFlg +
        ", slogan=" + slogan +
        ", contactPerson=" + contactPerson +
        ", centerId=" + centerId +
        ", createShopId=" + createShopId +
        ", empNum=" + empNum +
        ", isDataReceive=" + isDataReceive +
        ", lastTime=" + lastTime +
        ", shopType=" + shopType +
        ", isSingleCenter=" + isSingleCenter +
        ", isSingleJoint=" + isSingleJoint +
        ", coopCenterId=" + coopCenterId +
        ", isSingleChange=" + isSingleChange +
        ", slyTel=" + slyTel +
        ", isEnableMultiTaxRate=" + isEnableMultiTaxRate +
        ", invoiceItemId=" + invoiceItemId +
        ", groupInvoiceInfoNo=" + groupInvoiceInfoNo +
        ", canteenType=" + canteenType +
        "}";
    }
}
